package com.lnking.lnkingplace.model.dto.isolation.room;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.lnking.lnkingplace.model.entity.IsolationRoom;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class RoomListDto {

    private String id;

    @ApiModelProperty("场所名称")
    private String placeName;

    @ApiModelProperty(value = "场所id")
    private String placeId;

    @ApiModelProperty(value = "房间号")
    private String roomNumber;

    @ApiModelProperty(value = "使用状态")
    private String useStatus;

    @ApiModelProperty(value = "是否阳性专用")
    private String positiveDedicated;

    @ApiModelProperty(value = "自费/收费")
    private String costType;

    @ApiModelProperty(value = "价格")
    private String price;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ApiModelProperty("入住时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;

    @ApiModelProperty("退房时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;

    @ApiModelProperty("备注")
    private String note;

    @ApiModelProperty("楼层")
    private String floor;

    @ApiModelProperty("楼栋")
    private String building;

    @ApiModelProperty("入住人员信息")
    private PersonDto personDto;
}
